<!DOCTYPE html>
<html>
<head>
	<title>设备签到列表</title>
	{{>/WEB-INF/pages/common/head_refs.part.html}}
</head>
<body>
{{>/WEB-INF/pages/common/layout_header.part.html}}
<div class="container">
	<ul class="breadcrumb">
	  <li><a href="{{ctx}}">首页</a> <span class="divider">/</span></li>
	  <li class="active">设备签到列表</li>
	</ul>
	{{#message}}
		<div id="message" class="alert alert-success"><button data-dismiss="alert" class="close">×</button>{{message}}</div>
	{{/message}}
	<div>
		<a class="btn" href="{{ctx}}/push/dc/checkin">模拟签到</a>
		<input id="cancel_btn" class="btn" type="button" value="返回" onclick="history.back()"/>
	</div>
	<br/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
			<th>标识信息</th><th>设备名</th><th>操作系统</th><th>别名</th><th>标签</th><th>&nbsp;</th>
			</tr>
		</thead>
		<tbody>
		{{#checkins.content}}
			<tr>
				<td>
				<div>
					<span class="label label-important">设备ID</span>
					<span>{{deviceId}}</span>
				</div>
				<div>
					<span class="label label-info">应用ID</span>
					<span>{{appId}}</span>
				</div>
				<div>
					<span class="label label-info">Token</span>
					<span>{{pushToken}}</span>
				</div>
				<div>
					<span class="label label-info">渠道代号</span>
					<span>{{channelId}}</span>
				</div>
				</td>
				<td>{{deviceName}}</td>
				<td>{{osName}}&nbsp;{{osVersion}}</td>
				<td>{{alias}}</td>
				<td>
				{{#tags}}
				{{key}}={{value}},
				{{/tags}}
				</td>
				<td><a href="{{ctx}}/push/dc/delete/{{id}}">删除</a></td>
			</tr>
		{{/checkins.content}}
		</tbody>
	</table>
	{{#page}}
	{{>/WEB-INF/pages/common/pagination.part.html}}
	{{/page}}
	{{>/WEB-INF/pages/common/layout_footer.part.html}}
</div>
</body>
</html>
